//
//  UITextField+DSIndexPath.m
//  InsuranceMarketing
//
//  Created by DongSen on 2018/3/9.
//  Copyright © 2018年 initial. All rights reserved.
//

#import "UITextField+DSIndexPath.h"

NSString const * DSIndexKey = @"DSIndexPath";
@implementation UITextField (DSIndexPath)

- (void)setIndexPath:(NSIndexPath *)IndexPath{
    objc_setAssociatedObject(self, &DSIndexKey, IndexPath, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}
- (NSIndexPath *)IndexPath{
    return objc_getAssociatedObject(self, &DSIndexKey);
}
@end
